//
//  AddressBook.m
//  QQ inteface
//
//  Created by dllo on 16/6/22.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "AddressBook.h"

@implementation AddressBook
-(void)dealloc{
    [_dictonary release];
    [super dealloc];
}

-(instancetype)init{
    self =[super init];
    if (self) {
        self.dictonary = [[NSMutableDictionary alloc]initWithCapacity:5];
        
    }
    return self;
}
-(NSArray<NSString *> *)getGroupNames{
    return [self.dictonary.allKeys  sortedArrayUsingSelector:@selector(compare:)];
   
}

@end
